<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib prefix="s" uri="/struts-tags" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Login</title>
</head>
<body>
<br><br>
<s:set name="theme" value="'simple'" scope="page" />
<s:form id="frmlogin" action="loginaction" method="post">
<table width="571" border="0" style="border-left:double; border-bottom:double; border-right:double; border-top:double">
  <tr>
    <td width="42">&nbsp;</td>
    <td width="134">&nbsp;</td>
    <td width="39">&nbsp;</td>
    <td width="96">&nbsp;</td>
    <td width="176">&nbsp;</td>
    <td width="58">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td rowspan="5" align="center" valign="middle"><p>Welcome to Student Information System</p>
    <p>IIITB</p></td>
    <td>&nbsp;</td>
    <td><strong>User name :</strong></td>
    <td>
        <s:textfield name="loginUsername" />
   </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td><strong>Password :</strong></td>
    <td>
        <s:password name="loginPassword" value="" />
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="2" align="center">
    <s:if test="hasActionErrors()">
   			<div class="errors" style="color:red;">
     		 <s:actionerror/>
   			</div>
		</s:if>
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td colspan="2" align="center">
        <s:submit name="cmdbutton" value="Login" />
   	    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <s:submit name="cmdbutton" value="Forgot Password" />
    </td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
</table>
</s:form>
</body>
</html>